﻿// <copyright file="ModNotInstalledException.cs" company="SingularityShift.com">
// Copyright (c) 2010 SingularityShift.com. All rights reserved.
// </copyright>
// <author>Ben McClure</author>
// <email>ben@singularityshift.com</email>
// <date>11/30/2010</date>
// <summary>Implements the mod not installed exception class</summary>
namespace GameLib.Games.Util
{
    using System;

    /// <summary> Exception for signaling mod not installed errors. </summary>
    /// <remarks> Ben McClure, 11/30/2010. </remarks>
    public class ModNotInstalledException : Exception
    {
        /// <summary> Initializes a new instance of the <see cref="ModNotInstalledException"/> class.</summary>
        /// <remarks> Ben McClure, 11/30/2010. </remarks>
        /// <param name="mod"> The modifier. </param>
        public ModNotInstalledException(IMod mod) : base("Mod '" + mod.Name + "' is not installed.")
        {
        }
    }
}
